package com.bishe.bishe.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "unit")
public class Unit implements Serializable {
    @Id
    private Integer unitId;
    private int unitNumber;
    private String unitName;

    public Unit() {
    }

    public Unit(Integer unitId, int unitNumber, String unitName) {
        this.unitId = unitId;
        this.unitNumber = unitNumber;
        this.unitName = unitName;
    }

    public Integer getUnitId() {
        return unitId;
    }

    public void setUnitId(Integer unitId) {
        this.unitId = unitId;
    }

    public int getUnitNumber() {
        return unitNumber;
    }

    public void setUnitNumber(int unitNumber) {
        this.unitNumber = unitNumber;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
}
